#define _CRT_SECURE_NO_WARNINGS
class UnusualAdd {
public:
    int addAB(int a, int b) {
        // write code here
        int jw = a & b;
        int jg = a ^ b;
        while (jw)
        {
            int t_a = jg;
            int t_b = jw << 1;
            jw = t_a & t_b;
            jg = t_a ^ t_b;
        }
        return jg;
    }
};